package com.tao.friend.service;

import com.tao.common.creo.domain.Result;
import com.tao.friend.domain.user.vo.LoginUserVO;
import com.tao.friend.domain.user.dto.UserDTO;
import org.springframework.stereotype.Service;

@Service
public interface IUserService {
    boolean sendCode(UserDTO userDTO);

    String codeLogin(String phone, String code);

    Result<LoginUserVO> info(String token);

    boolean logout(String token);

}
